package com.china08.yxyapi.entity.mg.huixue;

import java.util.List;

import javax.persistence.Id;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.china08.yxyapi.entity.mg.MongoBaseEntityNoId;

/**
 * 慧学系统--学习计划--涉及到的知识点--答题记录,</br>
 * 
 * 点击试题提交, 每一道题进行记录一条记录, 通知练习次数增加一次.
 * 
 * @author Richard Wang
 *
 */

@SuppressWarnings("serial")
@Document(collection = "yxy.stu.huixue.plan.know.train.ques")
public class YxyHuixuePlanKnowTrainQues extends MongoBaseEntityNoId {

    @Id
    private String id;

    @Field(value = "train_id")
    private String trainId;// 本次练习id,

    @Field(value = "student_id")
    private String studentId;// 学生id

    @Field(value = "plan_id")
    private String planId;// 计划id

    @Field(value = "book_contents")
    private String bookContents;// 只到节

    @Field(value = "know_id")
    private String knowId;// 知识点id

    @Field(value = "know_name")
    private String knowName;// 知识点名称

    @Field(value = "ques_id")
    private String quesId;// 试题id

    /**
     * 答案:我的 ；选择题回答的答案 <br/>
     */
    @Field(value = "answer_of_my")
    private List<String> answerOfMy;

    /** 答案:题的 */
    @Field(value = "answer_of_ques")
    private List<String> answerOfQues;

    /** 是否正确 0-错误 , 1-正确 （单选，多选,主观题） */
    @Field(value = "passed")
    private Integer passed;

    /**
     * 答题使用时长（字符串）
     */
    @Field(value = "user_time")
    private String useTime;

    public String getUseTime() {
        return useTime;
    }

    public void setUseTime(String useTime) {
        this.useTime = useTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTrainId() {
        return trainId;
    }

    public void setTrainId(String trainId) {
        this.trainId = trainId;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getPlanId() {
        return planId;
    }

    public void setPlanId(String planId) {
        this.planId = planId;
    }

    public String getBookContents() {
        return bookContents;
    }

    public void setBookContents(String bookContents) {
        this.bookContents = bookContents;
    }

    public String getKnowId() {
        return knowId;
    }

    public void setKnowId(String knowId) {
        this.knowId = knowId;
    }

    public String getKnowName() {
        return knowName;
    }

    public void setKnowName(String knowName) {
        this.knowName = knowName;
    }

    public String getQuesId() {
        return quesId;
    }

    public void setQuesId(String quesId) {
        this.quesId = quesId;
    }

    public List<String> getAnswerOfMy() {
        return answerOfMy;
    }

    public void setAnswerOfMy(List<String> answerOfMy) {
        this.answerOfMy = answerOfMy;
    }

    public List<String> getAnswerOfQues() {
        return answerOfQues;
    }

    public void setAnswerOfQues(List<String> answerOfQues) {
        this.answerOfQues = answerOfQues;
    }

    public Integer getPassed() {
        return passed;
    }

    public void setPassed(Integer passed) {
        this.passed = passed;
    }

}
